Fix domU SMP build.
Signed-off-by: Keir Fraser <keir@xensource.com>
/* Have we found an MP table */
int smp_found_config;
-unsigned int __initdata maxcpus = NR_CPUS;
+extern unsigned int maxcpus;
/*
* Various Linux-internal data structures created from the
int disable_pse __initdata = 0;
+unsigned int __initdata maxcpus = NR_CPUS;
+
/*
* Machine setup..
*/
* maxcpus=N at enumeration-time can be used to disable HT.
*/
else if (!memcmp(from, "maxcpus=", 8)) {
- extern unsigned int maxcpus;
-
maxcpus = simple_strtoul(from + 8, NULL, 0);
}
#endif